<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=utf-8"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1{
            display: inline-block;
        }
        .d2{
            display: inline-block;
        }
    </style>
</head>
<body>
    <form method="post" action="${pageContext.request.contextPath}/population_update">
        <div class="d1">
           <p>
               <span>数据年份</span>
               <input type="text" name="memYear" required="required" value="${memYear}" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span>家庭编号</span>
               <input type="text" name="faCode"  required="required" value="${faCode}"/>
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 家庭成员姓名</span>
               <input type="text" name="memName"  required="required" value="${memName}" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 与户主关系</span>
               <select name="memRelationId" required>
                   <option value="1" <c:if test="${memRelationId==1}">selected</c:if>>配偶</option>
                   <option value="2" <c:if test="${memRelationId==2}">selected</c:if>>父子</option>
                   <option value="3" <c:if test="${memRelationId==3}">selected</c:if>>父女</option>
                   <option value="4" <c:if test="${memRelationId==4}">selected</c:if>>母子</option>
                   <option value="5" <c:if test="${memRelationId==5}">selected</c:if>>母女</option>
                   <option value="6" <c:if test="${memRelationId==6}">selected</c:if>>孙子</option>
                   <option value="7" <c:if test="${memRelationId==7}">selected</c:if>>孙女</option>
                   <option value="8" <c:if test="${memRelationId==8}">selected</c:if>>外孙</option>
                   <option value="9" <c:if test="${memRelationId==9}">selected</c:if>>外孙女</option>
                   <option value="10" <c:if test="${memRelationId==10}">selected</c:if>>儿媳妇</option>
                   <option value="11" <c:if test="${memRelationId==11}">selected</c:if>>女婿</option>
                   <option value="12" <c:if test="${memRelationId==12}">selected</c:if>>兄弟</option>
                   <option value="13" <c:if test="${memRelationId==13}">selected</c:if>>姐妹</option>
                   <option value="14" <c:if test="${memRelationId==14}">selected</c:if>>侄子</option>
                   <option value="15" <c:if test="${memRelationId==15}">selected</c:if>>侄女</option>
                   <option value="16" <c:if test="${memRelationId==16}">selected</c:if>>堂兄</option>
                   <option value="17" <c:if test="${memRelationId==17}">selected</c:if>>兄妹</option>
                   <option value="18" <c:if test="${memRelationId==18}">selected</c:if>>姐弟</option>
               </select>
               <span style="color: red">*</span>
           </p>
           <p>
               <span>性别</span>
               <input type="text" name="memGender" required value="${memGender}" />
               <span style="color: red">*</span>
           </p>
            <p>
                <span>身份证号</span>
                <input type="text" name="memIdCard" required="required" value="${memIdCard}"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>年龄</span>
                <input type="text" name="memAge" required value="${memAge}"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>民族</span>
                <select name="memNationalId" required>
                    <option value="1" <c:if test="${memNationalId==1}">selected</c:if>>汉族</option>
                    <option value="2" <c:if test="${memNationalId==2}">selected</c:if>>蒙古族</option>
                    <option value="3" <c:if test="${memNationalId==3}">selected</c:if>>回族</option>
                    <option value="4" <c:if test="${memNationalId==4}">selected</c:if>>藏族</option>
                    <option value="5" <c:if test="${memNationalId==5}">selected</c:if>>维吾尔族</option>
                    <option value="6" <c:if test="${memNationalId==6}">selected</c:if>>苗族</option>
                    <option value="7" <c:if test="${memNationalId==7}">selected</c:if>>壮族</option>
                    <option value="8" <c:if test="${memNationalId==8}">selected</c:if>>布依族</option>
                    <option value="9" <c:if test="${memNationalId==9}">selected</c:if>>朝鲜族</option>
                    <option value="10" <c:if test="${memNationalId==10}">selected</c:if>>满族</option>
                    <option value="11" <c:if test="${memNationalId==11}">selected</c:if>>侗族</option>
                    <option value="12" <c:if test="${memNationalId==12}">selected</c:if>>瑶族</option>
                    <option value="13" <c:if test="${memNationalId==13}">selected</c:if>>白族</option>
                    <option value="14" <c:if test="${memNationalId==14}">selected</c:if>>土家族</option>
                    <option value="15" <c:if test="${memNationalId==15}">selected</c:if>>哈尼族</option>
                    <option value="16" <c:if test="${memNationalId==16}">selected</c:if>>哈萨克族</option>
                    <option value="17" <c:if test="${memNationalId==17}">selected</c:if>>傣族</option>
                    <option value="18" <c:if test="${memNationalId==18}">selected</c:if>>黎族</option>
                    <option value="19" <c:if test="${memNationalId==19}">selected</c:if>>傈族</option>
                    <option value="20" <c:if test="${memNationalId==20}">selected</c:if>>彝族</option>
                    <option value="21" <c:if test="${memNationalId==21}">selected</c:if>>佤族</option>
                    <option value="22" <c:if test="${memNationalId==22}">selected</c:if>>畲族</option>
                    <option value="23" <c:if test="${memNationalId==23}">selected</c:if>>高山族</option>
                    <option value="24" <c:if test="${memNationalId==24}">selected</c:if>>拉祜族</option>
                    <option value="25" <c:if test="${memNationalId==25}">selected</c:if>>水族</option>
                    <option value="26" <c:if test="${memNationalId==26}">selected</c:if>>东乡族</option>
                    <option value="27" <c:if test="${memNationalId==27}">selected</c:if>>纳西族</option>
                    <option value="28" <c:if test="${memNationalId==28}">selected</c:if>>景颇族</option>
                    <option value="29" <c:if test="${memNationalId==29}">selected</c:if>>柯尔克孜族</option>
                    <option value="30" <c:if test="${memNationalId==30}">selected</c:if>>土族</option>
                    <option value="31" <c:if test="${memNationalId==31}">selected</c:if>>达斡尔族</option>
                    <option value="32" <c:if test="${memNationalId==32}">selected</c:if>>仫佬族</option>
                    <option value="33" <c:if test="${memNationalId==33}">selected</c:if>>羌族</option>
                    <option value="34" <c:if test="${memNationalId==34}">selected</c:if>>布朗族</option>
                    <option value="35" <c:if test="${memNationalId==35}">selected</c:if>>撒拉族</option>
                    <option value="36" <c:if test="${memNationalId==36}">selected</c:if>>毛南族</option>
                    <option value="37" <c:if test="${memNationalId==37}">selected</c:if>>仡佬族</option>
                    <option value="38" <c:if test="${memNationalId==38}">selected</c:if>>锡伯族</option>
                    <option value="39" <c:if test="${memNationalId==39}">selected</c:if>>阿昌族</option>
                    <option value="40" <c:if test="${memNationalId==40}">selected</c:if>>普米族</option>
                    <option value="41" <c:if test="${memNationalId==41}">selected</c:if>>塔吉克族</option>
                    <option value="42" <c:if test="${memNationalId==42}">selected</c:if>>怒族</option>
                    <option value="43" <c:if test="${memNationalId==43}">selected</c:if>>乌孜别克族</option>
                    <option value="44" <c:if test="${memNationalId==44}">selected</c:if>>俄罗斯族</option>
                    <option value="45" <c:if test="${memNationalId==45}">selected</c:if>>鄂温克族</option>
                    <option value="46" <c:if test="${memNationalId==46}">selected</c:if>>德昂族</option>
                    <option value="47" <c:if test="${memNationalId==47}">selected</c:if>>保安族</option>
                    <option value="48" <c:if test="${memNationalId==48}">selected</c:if>>裕固族</option>
                    <option value="49" <c:if test="${memNationalId==49}">selected</c:if>>京族</option>
                    <option value="50" <c:if test="${memNationalId==50}">selected</c:if>>塔塔尔族</option>
                    <option value="51" <c:if test="${memNationalId==51}">selected</c:if>>独龙族</option>
                    <option value="52" <c:if test="${memNationalId==52}">selected</c:if>>鄂伦春族</option>
                    <option value="53" <c:if test="${memNationalId==53}">selected</c:if>>赫哲族</option>
                    <option value="54" <c:if test="${memNationalId==54}">selected</c:if>>门巴族</option>
                    <option value="55" <c:if test="${memNationalId==55}">selected</c:if>>珞巴族</option>
                    <option value="56" <c:if test="${memNationalId==56}">selected</c:if>>基诺族</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>人口类别</span>
                <select name="memDemographicId" required>
                    <option value="1" <c:if test="${memDemographicId==1}">selected</c:if> >集体经济组织成员</option>
                    <option value="2" <c:if test="${memDemographicId==2}">selected</c:if>>户籍人口</option>
                    <option value="3" <c:if test="${memDemographicId==3}">selected</c:if>>其他人员</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>入户时间</span>
                <input type="date" name="memEnterTime" required value="${memEnterTime}"/>
                <span style="color: red">*</span>
            </p>
        </div>
        <div class="d2">
            <p>
                <span>婚姻状况</span>
                <select name="memMarriageId" required>
                    <option value="1" <c:if test="${memMarriageId==1}">selected</c:if>>已婚</option>
                    <option value="2" <c:if test="${memMarriageId==2}">selected</c:if>>未婚</option>
                    <option value="3" <c:if test="${memMarriageId==3}">selected</c:if>>离婚</option>
                    <option value="4" <c:if test="${memMarriageId==4}">selected</c:if>>再婚</option>
                    <option value="5" <c:if test="${memMarriageId==5}">selected</c:if>>丧偶</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>政治面貌</span>
                <select name="memPoliticalId" >
                    <option value="1" <c:if test="${memPoliticalId==1}">selected</c:if>>中共党员</option>
                    <option value="2" <c:if test="${memPoliticalId==2}">selected</c:if>>共青团员</option>
                    <option value="3" <c:if test="${memPoliticalId==3}">selected</c:if>>民主党派</option>
                    <option value="4" <c:if test="${memPoliticalId==4}">selected</c:if>>群众</option>
                </select>
            </p>
            <p>
                <span> 文化程度</span>
                <select name="memLevelEducationId" required>
                    <option value="1" <c:if test="${memLevelEducationId==1}">selected</c:if>>学龄前</option>
                    <option value="2" <c:if test="${memLevelEducationId==2}">selected</c:if>>文盲</option>
                    <option value="3" <c:if test="${memLevelEducationId==3}">selected</c:if>>小学</option>
                    <option value="4" <c:if test="${memLevelEducationId==4}">selected</c:if>>初中</option>
                    <option value="5" <c:if test="${memLevelEducationId==5}">selected</c:if>>高中</option>
                    <option value="6" <c:if test="${memLevelEducationId==6}">selected</c:if>>中专</option>
                    <option value="7" <c:if test="${memLevelEducationId==7}">selected</c:if>>大专</option>
                    <option value="8" <c:if test="${memLevelEducationId==8}">selected</c:if>>本科</option>
                    <option value="9" <c:if test="${memLevelEducationId==9}">selected</c:if>>硕士</option>
                    <option value="10" <c:if test="${memLevelEducationId==10}">selected</c:if>>博士</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>劳动力情况</span>
                <select name="memLabourId" >
                    <option value="1" <c:if test="${memLabourId==1}">selected</c:if>>是</option>
                    <option value="2" <c:if test="${memLabourId==2}">selected</c:if>>否</option>
                </select>
            </p>
            <p>
                <span>常住地址</span>
                <input type="text" name="memAddress" value="${memAddress}" />
            </p>
            <p>
                <span>人员状态</span>
                <select name="memStateId" required>
                    <option value="1" <c:if test="${memStateId==1}">selected</c:if>>正常</option>
                    <option value="2" <c:if test="${memStateId==2}">selected</c:if>>迁出</option>
                    <option value="3" <c:if test="${memStateId==3}">selected</c:if>>迁入</option>
                    <option value="4" <c:if test="${memStateId==4}">selected</c:if>>入狱</option>
                    <option value="5" <c:if test="${memStateId==5}">selected</c:if>>死亡</option>
                    <option value="6" <c:if test="${memStateId==6}">selected</c:if>>注销</option>
                    <option value="7" <c:if test="${memStateId==7}">selected</c:if>>分户</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>村内职务</span>
                <input type="text" name="memPositionId" value="${memPositionId}" />
            </p>
            <p>
                <span>身份</span>
                <select name="memIdentityId" required>
                    <option value="1" <c:if test="${memIdentityId==1}">selected</c:if>>家庭经营务农人员</option>
                    <option value="2" <c:if test="${memIdentityId==2}">selected</c:if>>学生</option>
                    <option value="3" <c:if test="${memIdentityId==3}">selected</c:if>>企业职工</option>
                    <option value="4" <c:if test="${memIdentityId==4}">selected</c:if>>个体工商户</option>
                    <option value="5" <c:if test="${memIdentityId==5}">selected</c:if>>私营业主</option>
                    <option value="6" <c:if test="${memIdentityId==6}">selected</c:if>>村两委干部</option>
                    <option value="7" <c:if test="${memIdentityId==7}">selected</c:if>>军人</option>
                    <option value="8" <c:if test="${memIdentityId==8}">selected</c:if>>优抚对象</option>
                    <option value="9" <c:if test="${memIdentityId==9}">selected</c:if>>退伍军人</option>
                    <option value="10" <c:if test="${memIdentityId==10}">selected</c:if>>机关公务员</option>
                    <option value="11" <c:if test="${memIdentityId==11}">selected</c:if>>事业单位人员</option>
                    <option value="12" <c:if test="${memIdentityId==12}">selected</c:if>>自由职业人员</option>
                    <option value="13" <c:if test="${memIdentityId==13}">selected</c:if>>社会组织工作人员</option>
                    <option value="14" <c:if test="${memIdentityId==14}">selected</c:if>>离退休人员</option>
                    <option value="15" <c:if test="${memIdentityId==15}">selected</c:if>>大学生村官</option>
                    <option value="16" <c:if test="${memIdentityId==16}">selected</c:if>>无</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>是否为兵役</span>
                <select name="memMilitaryId">
                    <option value="1" <c:if test="${memMilitaryId==1}">selected</c:if>>是</option>
                    <option value="2" <c:if test="${memMilitaryId==2}">selected</c:if>>否</option>
                </select>
            </p>
            <p>
                <span>联系电话</span>
                <input type="text" name="memPhone" required value="${memPhone}"/>
                <span style="color: red">*</span>
            </p>
        </div>
        <div>
            <button type="submit">增加</button>
        </div>
    </form>
</body>
</html>
